package com.nutricia.common.api.info;

import java.util.List;

/**
 * 菜单和权限关联关系的简单对象
 *
 * @author: huangsheng
 * @date: 2017 /10/24
 */
public class MenuAndPermissionInfo {


    /**
     * 菜单id
     */
    private String menuId;

    /**
     * 菜单名称
     */
    private String menuName;

    /**
     * 菜单所有权限
     */
    private List<SystemPermissionInfo> systemPermissionInfos;

    /**
     * 子菜单集合
     */
    private List<MenuAndPermissionInfo> subMenuInfos;

    public MenuAndPermissionInfo() {

    }

    /**
     * Gets menu id.
     *
     * @return the menu id
     */
    public String getMenuId() {
        return menuId;
    }

    /**
     * Sets menu id.
     *
     * @param menuId the menu id
     */
    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    /**
     * Gets menu name.
     *
     * @return the menu name
     */
    public String getMenuName() {
        return menuName;
    }

    /**
     * Sets menu name.
     *
     * @param menuName the menu name
     */
    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    /**
     * Gets system permission infos.
     *
     * @return the system permission infos
     */
    public List<SystemPermissionInfo> getSystemPermissionInfos() {
        return systemPermissionInfos;
    }

    /**
     * Sets system permission infos.
     *
     * @param systemPermissionInfos the system permission infos
     */
    public void setSystemPermissionInfos(List<SystemPermissionInfo> systemPermissionInfos) {
        this.systemPermissionInfos = systemPermissionInfos;
    }

    /**
     * Gets sub menu infos.
     *
     * @return the sub menu infos
     */
    public List<MenuAndPermissionInfo> getSubMenuInfos() {
        return subMenuInfos;
    }

    /**
     * Sets sub menu infos.
     *
     * @param subMenuInfos the sub menu infos
     */
    public void setSubMenuInfos(List<MenuAndPermissionInfo> subMenuInfos) {
        this.subMenuInfos = subMenuInfos;
    }
}
